﻿namespace Dcms.BLL
{
    using Dcms.IDAL;
    using Dcms.Model;
    using System;
    using System.Collections.Generic;

    public class Dcms_RegexBLL
    {
        private IDcms_RegexDAL rOp = Dcms.DALFactory.DALFactory.CreateDcms_Regex();

        public Dcms_RegexModel AddModel(Dcms_RegexModel model)
        {
            return this.rOp.AddModel(model);
        }

        public void DeleteModelByID(int ID)
        {
            this.rOp.DeleteModelByID(ID);
        }

        public Dcms_RegexModel GetModelByID(int ID)
        {
            return this.rOp.GetModelByID(ID);
        }

        public IList<Dcms_RegexModel> GetModelList()
        {
            return this.rOp.GetModelList();
        }

        public Dcms_RegexModel Update(Dcms_RegexModel model)
        {
            return this.rOp.Update(model);
        }
    }
}

